<div id="productdetail">
	<h2><?= $this->e($this->product['title']) ?></h2>
	<p class="price">Price: <strong><?= $this->currency($this->product['price']) ?></strong></p>
	<p class="sku">SKU: <strong><?= $this->e($this->product['sku']) ?></strong></p>
	<div class="description">
		<?= $this->e($this->product['description']) ?>
	</div>
	<div class="addtocart">
		<form method="post" action="<?= $this->routeUrl('product_addtocart') ?>">
			<?= $this->formHidden('product_id', $this->product['product_id']) ?>
			
			<p>
				<?= $this->formError("quantity", $this->errors) ?>
				<?= $this->formLabel('quantity', 'Qty') ?>
				<?php if (array_key_exists('quantity', $this->addtocart)): ?>
					<?= $this->formText('quantity', $this->addtocart['quantity'], array('size' => 2)) ?>
				<?php else: ?>
					<?= $this->formText('quantity', 1, array('size' => 2)) ?>
				<?php endif ?>
			</p>
			<p><?= $this->formSubmit(null, 'Add To Cart') ?></p>
		</form>
	</div> <!-- /.addtocart -->
</div>